<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title><?php echo $view['config']['webSiteName'] . $view['config']['adminName'] . $view['config']['dashBoard'] ?>
        新闻管理</title>
    <?php include_once("common/admin_css_js_header.php");?>
</head>
<body>
<!-- Header -->
<?php include_once("common/admin_header.php");?>
<!-- End of Header -->
<!-- Page title -->
<div id="pagetitle">
    <div class="wrapper">
        <h1>会员管理 &rarr; <span>报名列表</span></h1>
        <!-- Quick search box -->
        <form action="" method="get"><input class="" type="text" id="q" name="q"/></form>
    </div>
</div>
<!-- End of Page title -->

<!-- Page content -->
<div id="page">
    <!-- Wrapper -->
    <div class="wrapper">
        <!-- Left column/section -->
        <section class="column width6 first" style="width:990px;">

            <div id="tabs">

                <table>
                    <tr>
                        <td>我的总票数</td>
                        <td><?php
                         $userVote = $this->modules->UserVote;
                            echo $userVote->findCountByUserId($view['application']['applicationId'] == "" ? 0
                                                                      : $view['application']['applicationId'], 1);
                            ?></td>
                    </tr>
                    <tr>
                        <td width="80">姓名</td>
                        <td width="350"><input type="text" value="<?php echo $view['application']['name'] ?>"
                                               name="name" class="f_txt"/></td>
                        <td rowspan="6" style="text-align:center;">
                            <img src="<?php echo  $view['application']['photo'] == '' ? '/images/temp.png'
                                    : $view['application']['photo']  ?>" id="picturePreview"
                                 style="width:190px;margin-top:10px;"/>

                            <div style="clean:both">&nbsp;</div>
                            <a id="upload" style="margin-top:8px;">上传头像</a>
                        </td>
                    </tr>
                    <tr>
                        <td>昵称</td>
                        <td><input type="text" name="nickname" value="<?php echo $view['application']['nickname'] ?>"
                                   class="f_txt"/></td>
                    </tr>
                    <tr>
                        <td>姓别</td>
                        <td><select name="gender">
                            <option <?php if ($view['application']['gender'] == "男") echo "selected" ?> value="男">男
                            </option>
                            <option <?php if ($view['application']['gender'] == "女") echo "selected" ?> value="女">女
                            </option>
                        </select></td>
                    </tr>
                    <tr>
                        <td>生日</td>
                        <td><input type="text" name="birthday" id="birthDay"
                                   value="<?php echo $view['application']['birthday'] ?>" class="f_txt"/></td>
                    </tr>
                    <tr>
                        <td>爱好</td>
                        <td><input type="text" name="hobby" value="<?php echo $view['application']['hobby'] ?>"
                                   class="f_txt"/></td>
                    </tr>
                    <tr>
                        <td>个性签名</td>
                        <td><input type="text" name="motto" value="<?php echo $view['application']['motto'] ?>"
                                   class="f_txt"/></td>
                    </tr>
                    <tr>
                        <td>自我简介</td>
                        <td><textarea name="introduce"
                                      style="width:400px;height:200px"><?php echo $view['application']['introduce'] ?></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>身高</td>
                        <td><input type="text" name="height" value="<?php echo $view['application']['height'] ?>"
                                   class="f_txt"/>（单位:厘米）
                        </td>
                    </tr>
                    <tr>
                        <td>体重</td>
                        <td><input type="text" name="weight" value="<?php echo $view['application']['weight'] ?>"
                                   class="f_txt"/>（单位:公斤）
                        </td>
                    </tr>
                    <tr>
                        <td>三围></td>
                        <td>胸围:<input type="text" name="bust" value="<?php echo $view['application']['bust'] ?>"
                                      class="f_txt" style="width: 50px;"/>
                            腰围:<input type="text" name="waistline"
                                      value="<?php echo $view['application']['waistline'] ?>" class="f_txt"
                                      style="width: 50px;"/>
                            臀围:<input type="text" class="f_txt" value="<?php echo $view['application']['bust'] ?>"
                                      name="bust" style="width: 50px;"/>
                        </td>
                    </tr>
                </table>
                <div class="clearfix"></div>

            </div>

        </section>
        <!-- End of Left column/section -->

        <!-- Right column/section -->
        <!-- <aside class="column width2">
            <p class="leading"><a href="#" class="btn btn-special btn-green"><img
                    SRC="<?php /*echo $view['config']['resource_domain'];*/?>/img/add.png" class="icon"
                    alt=""/>发表新闻</a></p>

            <!-- <div class="box">
                You are now using <b class="big">72%</b> of your allowed storage capacity.
                <div id="capacity" class="progress progress-green"><span><b></b></span></div>
            </div>-->
        <!--<div class="content-box">
            <header>
                <h3>Tags</h3>
            </header>
            <section>
                <div class="tagcloud">
                    <a href="#" class="tag1">lorem</a> <a href="#" class="tag5">ipsum</a> <a href="#" class="tag1">dolor</a>
                    <a href="#" class="tag3">sit</a> <a href="#" class="tag1">amet</a>
                </div>
            </section>
        </div>-->
        <!--</aside>-->
        <!-- End of Right column/section -->

    </div>
    <!-- End of Wrapper -->
</div>
<!-- End of Page content -->

<?php include_once("common/admin_footer.php");?>
</body>
</html>